package com.baizhi.entity;

public class Food {
    private int foodId;
    private String foodName;
    private double price;
    private String desc;
    private double calorie;

    @Override
    public String toString() {
        return "Food{" +
                "foodId=" + foodId +
                ", foodName='" + foodName + '\'' +
                ", price=" + price +
                ", desc='" + desc + '\'' +
                ", calorie=" + calorie +
                '}';
    }

    public int getFoodId() {
        return foodId;
    }

    public void setFoodId(int foodId) {
        this.foodId = foodId;
    }

    public String getFoodName() {
        return foodName;
    }

    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public double getCalorie() {
        return calorie;
    }

    public void setCalorie(double calorie) {
        this.calorie = calorie;
    }

    public Food(int foodId, String foodName, double price, String desc, double calorie) {
        this.foodId = foodId;
        this.foodName = foodName;
        this.price = price;
        this.desc = desc;
        this.calorie = calorie;
    }

    public Food() {
    }
}
